package com.client.service.impl;

import com.client.pojo.UserAddresses;
import com.client.dao.UserAddressesDao;
import com.client.service.UserAddressesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户收货地址表 服务实现类
 * </p>
 *
 * @author ckick
 * @since 2025-09-20 08:28:54
 */
@Service
public class UserAddressesServiceImpl extends ServiceImpl<UserAddressesDao, UserAddresses> implements UserAddressesService {
    @Autowired
    private UserAddressesDao userAddressesDao;
    @Override
    public List<UserAddresses> getAddressesById(Integer userId) {
        return userAddressesDao.getAddressesById(userId);
    }
}
